import 'vant/lib/index.less'
// // 引入单个组件样式
// import 'vant/lib/button/style/less'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { NavBar, Button, Tabbar, TabbarItem, Form, Field, Cell, Toast, List, Icon } from 'vant'
import ArticleItem from '@/components/ArticleItem.vue'
Vue.config.productionTip = false

Vue.use(Button)
Vue.use(List)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Cell)
Vue.use(Toast)
Vue.use(Field)
Vue.component('ArticleItem', ArticleItem)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
